MVC API 權限控制 定義一個類:TestAuthorizeAttribute 這里的AuthorizeAttribute引用的命名空間是System.Web.Http;而非是System.Web.Mvc的 ...